home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
nt
/
source.exe
/
POSIX
/
SH
/
STD
/
STDC
/
STRLEN.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-13
|
241b
|
19 lines
#include <string.h>
/*
* strlen - length of string (not including NUL)
*/
size_t
strlen(s)
Const char *s;
{
register Const char *scan;
register size_t count;
count = 0;
scan = s;
while (*scan++ != '\0')
count++;
return(count);
}